<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="lib/layui/css/layui.css">
    <link rel="stylesheet" href="/css/base.css">
    <style>
        #uploadDiv{
            display: block !important;
            margin-top: 20px;
        }
        .layui-textarea{
            min-height: 40px !important;
        }
    </style>
</head>
<body>
<div class="layui-fluid">
    <p style="font-size: 12px;">目前只支持七牛云上传，如果需要其他上传方式可以联系我，我给加上就可以了，免费的哟。联系方式：461718846@qq.com</p>
    <div class="layui-row">
        <div class="layui-col-xs12" style="text-align: right;">
            <a href="config.html" class="layui-badge">配置</a>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-col-xs12">

            <div class="layui-upload-drag" id="uploadDiv">
                <i class="layui-icon"></i>
                <p>点击上传，或将文件拖拽到此处</p>
                <div class="layui-hide" id="uploadView">
                    <hr>
                    <img src="" alt="上传成功后渲染" style="max-height: 100px" referrerpolicy=no-referrer>
                </div>
            </div>

            <div id="pathDiv">

                <fieldset class="layui-elem-field">
                    <legend>URL</legend>
                    <div class="layui-field-box">
                        <textarea id="urlText" class="layui-textarea"></textarea>
                        <button	class="layui-btn layui-btn-xs" id="urlBtn">复制</button>
                    </div>
                </fieldset>

                <fieldset class="layui-elem-field">
                    <legend>HTML</legend>
                    <div class="layui-field-box">
                        <textarea id="htmlText" class="layui-textarea"></textarea>
                        <button	class="layui-btn layui-btn-xs" id="htmlBtn">复制</button>
                    </div>
                </fieldset>

                <fieldset class="layui-elem-field">
                    <legend>markdown</legend>
                    <div class="layui-field-box">
                        <textarea id="mkText" class="layui-textarea"></textarea>
                        <button	class="layui-btn layui-btn-xs" id="mkBtn">复制</button>
                    </div>
                </fieldset>

            </div>

        </div>
    </div>
</div>
<script src="lib/layui/layui.js"></script>
<script src="js/popup.js"></script>
</body>
</html>
